home *** CD-ROM | disk | FTP | other *** search
- I have made available the "Eclectus Merge Utilities" on my ftp site:
- ftp://ftp.dnai.com/users/aharper. I hope I have supplied them in a
- usable format--please let me know if you have any problem accessing them.
-
- These tools consist of three tools:
-
- Merge Difference Undifference
-
- Difference and Undifference are useful for maintaining differences between
- versions of a project (I use them to archive my changes each day after editing
- files).
-
- Merge is useful for merging changes from many sources in one project.
-
- Our "Source Code Control System" is to have two or more programmers making
- simultaneous changes in a project. Every so often we beam all the difference
- files to one computer where we use Merge to integrate the sources. After all
- collisions are dealt with and the new version is tested, we then send out
- difference files so each programmer can make a new base and continue work.
-
- These files produce MPW Tools on the Macintosh. Make files are also supplied for
- building the tools on NeXT and Windows/NT computers.
-
- The vast majority of code was derived with little or no modification from GNU
- diff. GNU diff was written by Mike Haertel, David Hayes, Richard Stallman, Len
- Tower and Paul Eggert. The basic algorithm is described in: "An O(ND) Difference
- Algorithm and its Variations", Eugene Myers, Algorithmica Vol. 1 No. 2, 1986, p
- 251.
-
- usage: Difference SourcePath DestinationPath >DifferenceScriptFile
-
- Produces on stdout a file that stores the changes in the files in the tree
- DestinationPath that are not in SourcePath. This is useful for backups, storing
- smaller copies of modified file trees and beaming changes in file trees through a
- slow wire.
-
- usage: Undifference SourcePath DifferenceScriptFile DestinationPath
-
- Recreates DestinationPath out of DifferenceScriptFile and SourcePath.
-
- usage: Merge [-c] rootPath modification1Path [modification2Path] ...
- destinationPath -c shows all changes even if no collisions occur
-
- Merges all changes in the files contained in modification1Path
- [modification2Path] ... that have been made to rootPath into the new path
- destinationPath. Changes are automatically merged. If a collision occurs (e.g.
- two or more people change the same lines) all choices are listed in the merged
- file and the merged file is renamed by prepending a "!" to it. If you add "-c"
- all changes are listed as collisions, which may be useful if you want to review
- all the changes. We haven't used -c much.
-
-
- ---------------------------------------------------
- Alan Harper 11 Embarcadero West, Suite 120
- aharper@dnai.com Oakland, CA 94607
- 510/444-6605
-